package org.dromara.shopping.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * @ClassName ProductFormatDTO
 * @Author hupeng <610796224@qq.com>
 * @Date 2019/10/12
 **/
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class ProductFormatDto {

	private Long id;

	@Builder.Default
    private String barCode = "";

	@Builder.Default
    private Double brokerage = 0d;

	@Builder.Default
    private Double brokerageTwo = 0d;

	@Builder.Default
    private Double price = 0d;

	@Builder.Default
    private Double otPrice = 0d;

    @Builder.Default
    private Double cost = 0d;

	@Builder.Default
    private Integer stock = 0;

//    private String image = "";
//
//    private String imagePath = "";


	@Builder.Default
    private String value1 = "";
//

	@Builder.Default
    private String value2 = "";

	@Builder.Default
    private Double volume = 0d;

	@Builder.Default
    private Double weight = 0d;

//    @JsonProperty("pink_price")
	@Builder.Default
    private Double pinkPrice = 0d;

    @Builder.Default
    private Integer singleCount = 1;

//    @JsonProperty("pink_stock")
	@Builder.Default
    private Integer pinkStock = 0;

    private Map<String, String> detail;
}
